package com.bdrm.service;

import com.bdrm.dto.OrderPageQueryDTO;
import com.bdrm.dto.OrderRejectionDTO;
import com.bdrm.dto.OrdersCancelDTO;
import com.bdrm.dto.OrdersSubmitDTO;
import com.bdrm.entity.Orders;
import com.bdrm.result.PageResult;
import com.bdrm.vo.OrderInfoVO;
import com.bdrm.vo.OrderStatisticsVO;
import com.bdrm.vo.OrderSubmitVO;

public interface OrderService {
    OrderSubmitVO submitOrder(OrdersSubmitDTO ordersSubmitDTO);

    void update(String orderNumber);


    OrderInfoVO detail(Long id);

    void repetition(Long id);

    PageResult pageQuery(Integer page, Integer pageSize, Integer status);

    PageResult conditionSearch(OrderPageQueryDTO orderPageQueryDTO);

    OrderStatisticsVO statistics();

    void cancel(OrdersCancelDTO ordersCancelDTO);

    void completeById(Long id);

    void rejection(OrderRejectionDTO orderRejectionDTO);

    void confirm(Long id);

    OrderInfoVO detailById(Long id);

    void deliveryById(Long id);
}
